package nacos.provider.server.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@EnableAutoConfiguration
@RestController
@Slf4j
public class ProviderController {

    @GetMapping("/hello")
    public String helloPO(){

        return  "hello provide";


    }
    @GetMapping("/list")
    public String list(int i){
        return  "hello return provide";
    }
}
